//
//  AssetViewController.h
//  图片选择器每个组的子视图，直接列出组中的所有图片
//
//  Created by Yangfan on 15/2/4.
//  Copyright (c) 2015年 4gread. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import "AssetViewCell.h"
#define kAssetViewCellIdentifier           @"AssetViewCellIdentifier"
#define kPopoverContentSize CGSizeMake(320, 480)
#define kThumbnailLength    78.0f
#define kThumbnailSize      CGSizeMake(kThumbnailLength, kThumbnailLength)
#define D_ImagePreView_DefaultHeight 133

@interface AssetViewController : UIViewController<AssetViewCellDelegate,UITableViewDataSource,UITableViewDelegate> {
    int columns;
    float minimumInteritemSpacing;
    float minimumLineSpacing;
    BOOL unFirst;
    
    UIImageView *imageViewBack;// 底部高斯模糊图片
}

@property (nonatomic, strong) ALAssetsGroup *assetsGroup;
@property (nonatomic, strong) NSMutableArray *indexPathsForSelectedItems;
@property (nonatomic, strong) UITableView   *tableView;

@property (nonatomic, strong) NSMutableArray *assets;
@property (nonatomic, assign) NSInteger numberOfPhotos;
@property (nonatomic, assign) NSInteger numberOfVideos;

@property (nonatomic, assign) UIImage *backImage;
@end
